dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt
authorP33M <p33m@github.com>
Mon, 15 May 2017 13:51:42 +0000 (14:51 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:37:50 +0000 (17:37 +0000)
commit8385bb527c1c6032cb4a655567a3f4730e788223
tree730bfea820b2f255b5b4565aba68953724226cab
parentdce1d40ee59c37fef2191d4e201c6d0ce2449a05
dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt

Host channels are already halted in kill_urbs_in_qh_list() with the
subsequent interrupt processing behaving as if the URB was dequeued
via HCD callback.

There's no need to clobber the host channel registers a second time
as this exposes races between the driver and host channel resulting
in hcd->free_hc_list becoming corrupted.
drivers/usb/host/dwc_otg/dwc_otg_hcd.c